package com.itheima.service;

import com.itheima.pojo.Role;

import java.util.List;

/**
 * @Author: bowen
 * @Date: 2019/8/3 23:02
 * @Description:
 */
public interface RoleService {
	public abstract Role selectByName(String name);

	public abstract List<Role> selectByDesc(String desc);

	public abstract Integer selectCountByDesc(String sex);

	public abstract List<Role> selectAll();

	public abstract Role selectById(Integer id);

	public abstract void insert(Role role);

	void insertSelective(Role role);

	void delete(String test);

	void deleteById(Integer id);

	void update(Role role);

	void updateSelective(Role role);
}
